<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="ComputerShopE3.Controllers" %> 
    
    <% SiteRoles role = SpiderE3AuthorizeAttribute.GetCurrentRole(Context);
            if (role == SiteRoles.Admin || role == SiteRoles.Employee || role == SiteRoles.Member)
           { %>    
    <div>
        <% Html.RenderPartial("AddToFavorite"); %>
    </div>
    <div>
        <% Html.RenderPartial("AddToCart"); %>
    </div>
    <div>
        <% Html.RenderPartial("~/Views/Grade/Index.ascx", ViewData["DANH_GIA"]); %>
    </div>
    <div>
        <% Html.RenderPartial("~/Views/Comment/Index.ascx", ViewData["GOP_Y"]); %>
    </div>
    <%} %>
